package ycl.important.entity.test;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ycl.important.common.base.entity.BaseEntity;

import java.math.BigDecimal;

/**
 * <p>
 * 测试表：批量操作
 * </p>
 *
 * @author YCL
 * @since 2021-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="TestPerson对象", description="测试表：批量操作")
@TableName("test_person")
public class Person extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别")
    private Boolean sex;

    @ApiModelProperty(value = "身高，单位cm")
    private BigDecimal height;

    @ApiModelProperty(value = "体重，单位kg")
    private BigDecimal weight;


}
